<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="base.jsp" %>
	<!-- left -->
    <div class="sidebar-nav" style="margin-top:15px;position:relative;float:left;">
        <a href="#" class="nav-header" data-toggle="collapse"><i class="icon-dashboard"></i>${sessionScope.curr_project.name }</a>
		<c:choose>
			<c:when test="${left == 'project'}">
				<a href="#news-menu" class="nav-header " data-toggle="collapse"><i class="icon-white icon-home"></i>最新动态</a>
		        <ul id="news-menu" class="nav nav-list in collapse" style="height:auto;">
		            <li><a href="#">@我的<span class="label label-info"></span></a></li>
		            <li><a href="#">与我相关的<span class="label label-info"></span></a></li>
		        </ul>
			</c:when>
			<c:otherwise>
				<a href="#news-menu" class="nav-header collapsed" data-toggle="collapse"><i class="icon-white icon-home"></i>最新动态</a>
		        <ul id="news-menu" class="nav nav-list collapse" style="height: 0px; ">
		            <li><a href="#">@我的<span class="label label-info"></span></a></li>
		            <li><a href="#">与我相关的<span class="label label-info"></span></a></li>
		        </ul>
			</c:otherwise>
		</c:choose>	
		<c:choose>
			<c:when test="${left == 'goal'}">
				<a href="#goal-menu" class="nav-header " data-toggle="collapse"><i class="icon-flag icon-white"></i>目标 <i class="icon-chevron-up icon-white"></i></a>
		        <ul id="goal-menu" class="nav nav-list in collapse" style="height:auto;">
		            <li><a href="goal.jspx">查看所有目标</a></li>
		            <li><a href="newGoal.jspx">添加新目标</a></li>
       			</ul>
			</c:when>

			<c:otherwise>
			    <a href="#goal-menu" class="nav-header collapsed" data-toggle="collapse"><i class="icon-flag icon-white"></i>目标 <i class="icon-chevron-up icon-white"></i></a>
		        <ul id="goal-menu" class="nav nav-list collapse">
		            <li><a href="goal.jspx">查看所有目标</a></li>
		            <li><a href="newGoal.jspx">添加新目标</a></li>
				</ul>
			</c:otherwise>
		</c:choose>
		<c:choose>
			<c:when test="${left == 'document'}">
				<a href="#document-menu" class="nav-header " data-toggle="collapse"><i class="icon-folder-open icon-white"></i>资料库 <i class="icon-chevron-up icon-white"></i></a>
		        <ul id="document-menu" class="nav nav-list in collapse">
		            <li><a href="document.jspx">显示所有资料</a></li>
		            <li><a href="newDocument.jspx">添加新资料</a></li>
		        </ul>
			</c:when>
			<c:otherwise>
				<a href="#document-menu" class="nav-header collapsed" data-toggle="collapse"><i class="icon-folder-open icon-white"></i>资料库 <i class="icon-chevron-up icon-white"></i></a>
		        <ul id="document-menu" class="nav nav-list collapse">
		            <li><a href="document.jspx">显示所有资料</a></li>
		            <li><a href="newDocument.jspx">添加新资料</a></li>
		        </ul>
			</c:otherwise>
		</c:choose>
		
		<c:choose>
			<c:when test="${left == 'file' }">
				 <a href="#file-menu" class="nav-header " data-toggle="collapse"><i class="icon-file icon-white"></i>文件共享 <i class="icon-chevron-up icon-white"></i></a>
		        <ul id="file-menu" class="nav nav-list in collapse">
		            <li><a href="file.jspx">显示共享文件</a></li>
		            <li><a href="new_file.jspx">添加共享文件</a></li>
       			 </ul>

			</c:when>
			<c:otherwise>

				  <a href="#file-menu" class="nav-header collapsed" data-toggle="collapse"><i class="icon-file icon-white"></i>文件共享 <i class="icon-chevron-up icon-white"></i></a>
			       <ul id="file-menu" class="nav nav-list collapse">
			            <li><a href="file.jspx">显示共享文件</a></li>
			            <li><a href="new_file.jspx">添加共享文件</a></li>
			       </ul>

			</c:otherwise>

		</c:choose>
		<a href="contact.html" class="nav-header collapsed" data-toggle="collapse"><i class="icon-user icon-white"></i>联系人 <i class="icon-chevron-up icon-white"></i></a>
		<c:choose>
			<c:when test="${left == idea} ">
				 <a href="#idea-menu" class="nav-header " data-toggle="collapse"><i class="icon-fire icon-white"></i>想法 <i class="icon-chevron-up icon-white"></i></a>
			     <ul id="idea-menu" class="nav nav-list in collapse">
			          <li><a href="idea.jspx">显示所有想法</a></li>
		              <li><a href="newIdea.jspx">发表新想法</a></li>
		        </ul>
			</c:when>

			<c:otherwise>

				<a href="#idea-menu" class="nav-header collapsed" data-toggle="collapse"><i class="icon-fire icon-white"></i>想法 <i class="icon-chevron-up icon-white"></i></a>
		        <ul id="idea-menu" class="nav nav-list collapse">
		            <li><a href="idea.jspx">显示所有想法</a></li>
		            <li><a href="newIdea.jspx">发表新想法</a></li>
		        </ul>

			</c:otherwise>

		</c:choose>

         <a href="#error-menu" class="nav-header collapsed" data-toggle="collapse"><i class="icon-warning-sign icon-white"></i>Bug <i class="icon-chevron-up icon-white"></i></a>
         <a href="mian.html" class="nav-header collapsed" data-toggle="collapse"><i class="icon-cog icon-white"></i>项目设置 <i class="icon-chevron-up icon-white"></i></a>
    </div>

	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<script type="text/javascript">
		$(document).ready(function(){

		});
	</script>

</html>
